<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	template="templates/user_template.xhtml">

	<ui:define name="css-styles">
		<h:outputStylesheet library="css" name="movie-info-style.css" />
	</ui:define>

	<ui:define name="title">
			Информация за #{movie.name}
	</ui:define>

	<ui:define name="content">

		<h1></h1>

		<table id="movie" align="center">
			<tr>
				<td colspan="2" id="header-row-movie">
					<h2>Информация за #{movie.name}</h2>
				</td>
			</tr>

			<tr class="odd-row">
				<th class="movie-row-th">Име</th>
				<td class="movie-row-td">#{movie.name}</td>
			</tr>

			<tr class="even-row">
				<th class="movie-row-th">Жанр</th>
				<td class="movie-row-td">#{movie.movie_type}</td>
			</tr>

			<tr class="odd-row">
				<th class="movie-row-th">Режисьор</th>
				<td class="movie-row-td">#{movie.director}</td>
			</tr>

			<tr class="even-row">
				<th class="movie-row-th">В ролите</th>
				<td class="movie-row-td">#{movie.actors}</td>
			</tr>

			<tr class="odd-row">
				<th class="movie-row-th">Държава</th>
				<td class="movie-row-td">#{movie.country}</td>
			</tr>

			<tr class="even-row">
				<th class="movie-row-th">Времетраене</th>
				<td class="movie-row-td">#{movie.duration}</td>
			</tr>

			<tr class="odd-row">
				<th class="movie-row-th">Резюме</th>
				<td class="movie-row-td">#{movie.summary}</td>
			</tr>
		</table>

	</ui:define>

</ui:composition>